import Event from './index'

const EVENT_PLANT_UPDATE = 'EVENT_REPAIR_ORDER_UPDATE' //计划列表刷新
const EVENT_BLOCK_API = 'EVENT_BLOCK_API'

export const eventPlantUpdate = new Event<{ id: string }>(EVENT_PLANT_UPDATE)
export const eventBlockApi = new Event<{ isLogin: boolean }>(EVENT_BLOCK_API)
